package com.nys.cqhttp.mapper;

import com.nys.cqhttp.model.GuessState;
import com.nys.cqhttp.model.GuessStateExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface GuessStateMapper {
    long countByExample(GuessStateExample example);

    int deleteByExample(GuessStateExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(GuessState record);

    int insertSelective(GuessState record);

    List<GuessState> selectByExample(GuessStateExample example);

    GuessState selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") GuessState record, @Param("example") GuessStateExample example);

    int updateByExample(@Param("record") GuessState record, @Param("example") GuessStateExample example);

    int updateByPrimaryKeySelective(GuessState record);

    int updateByPrimaryKey(GuessState record);

    GuessState lastData(@Param("jqrQq") String jqrQq);
}